package com.createidea.cms.service.product;

import java.io.File;
import java.util.List;
import com.createidea.cms.to.PictureTo;
import com.createidea.cms.to.ProductTo;
import com.createidea.cms.utils.Pager;

public interface ProductService {

	List<ProductTo> getProductsByStatus(int i);

	List<ProductTo> getAllEnableProductsByPager(Pager pager, int i);

	void saveProcut(ProductTo product);

	void deleteProcut(String productId);

	void updateProduct(ProductTo product);

	ProductTo getProduct(String productId);

	List<ProductTo> getProductsForType(int i, String producttypeId);

	List<ProductTo> getProductsForTypeInPager(int i, String producttypeId, Pager pager);

	void setDefaultPicture(String pictureId, String productId);

	List<ProductTo> getProductsByLan(int i, String lan, int status);
	
	List<ProductTo> getProductsByLanInPager(int i, String lan, Pager pager);

}
